<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<title>后台登录</title>
<%@include file="/WEB-INF/jsp/common/header.jsp"%>
<link href="${pageContext.request.contextPath}/resources/css/login.css" rel="stylesheet">
<script type="text/javascript">
if(top.location!=self.location){
	top.location.reload();
}
</script>
</head>
<body>
	<div class="container">
		<div class="col-sm-5 col-sm-offset-3 loginForm">
			<form name="form" action="${pageContext.request.contextPath}/web/login" method="post">
				<div class="default">后台管理系统</div>
				<c:if test="${msg!=null && msg!=''}">
					<span class="notice"><font class="glyphicon glyphicon-info-sign icon"></font>${msg}</span>
				</c:if>
				<i class="fa fa-lock icon-lock"></i>
				<div class="form-group">
					<input id="loginName" type="text" class="form-control" name="loginName"  placeholder="用户名" required>
				</div>
				<div class="form-group">
					<input id="password" type="password" class="form-control" name="password"  placeholder="密码" required>
				</div>
				<%-- <div class="form-group">
					<input id="authCode" type="text" class="form-control" name="authCode" placeholder="验证码" required>
					<img id="authCodeImg" class="form-control" src="${pageContext.request.contextPath}/login/authCode" onclick="refreshCode()" style="padding:0;">
				</div> --%>
				<button id="submit" type="submit" class="btn form-control">登 录</button>
			</form>
		</div>
	</div>
	<div class="bg"></div>
</body>
</html>